#include <lvgl.h>
#include <Preferences.h>
#include "../../common.h"
extern const lv_img_dsc_t setting_icon;

class Setting
{
  private:
  lv_obj_t *label_scr, *label;
  lv_style_t font_style, font_style_msg;
  Preferences save_cfg;
  Event event, last_event=NOEVENT;
  String msg="";
  bool is_input;
  void command_base(String);
  void get_command();

  public:
  Setting();
  ~Setting();
  Event main_process(Action);
  
};
